package com.example.demoshiro.controller;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author weikaiqian
 * @date 2023/6/16  16:08
 * @project demoshiro
 */

@RestController
public class TestController {


    @PostMapping("/health")
    public String health() {
        return "health";
    }
    
    @PostMapping("/ok")
    public String hszealth() {
        return "ok";
    }

}
